package pw.wmgblog.tools.service.impl;

import org.springframework.stereotype.Service;
import pw.wmgblog.tools.service.PasswordService;
import pw.wmgblog.tools.utils.PasswordUtil;

@Service
public class PasswordServiceImpl implements PasswordService {
    @Override
    public String getPassword(String pass, String length) {
        return PasswordUtil.getshortPass(pass,length);
    }
}
